package com.ruantong.dingtalk.ding.callback.enums;

/**
 * @description:角色变更事件
 * @author: jh.chen
 * @time: 2020/11/15 17:43
 */
public enum RoleEventEnum {

    /**
     * 员工角色信息发生变更
     */
    LABEL_USER_CHANGE("label_user_change"),
    /**
     * 增加角色或者角色组
     */
    LABEL_CONF_ADD("label_conf_add"),
    /**
     * 删除角色或者角色组
     */
    LABEL_CONF_DEL("label_conf_del"),
    /**
     * 修改角色或者角色组
     */
    LABEL_CONF_MODIFY("label_conf_modify");

    private String event;

    RoleEventEnum(String event) {
        this.event = event;
    }

    public String getEvent() {
        return event;
    }

    public void setEvent(String event) {
        this.event = event;
    }

    public String value() {
        return this.getEvent();
    }
}
